package com.ruoyi.system.repository.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奶茶对象 milktea
 *
 * @author qiang
 * @date 2020-12-24
 */
public class Milktea extends BaseEntity
{
    private static final long serialVersionUID=1L;

    /** 奶茶id */
    @Excel(name = "奶茶id")
    private String id;

    /** 奶茶名字 */
    @Excel(name = "奶茶名字")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String des;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 类型名 */
    @Excel(name = "类型名")
    private String typeName;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDes(String des)
    {
        this.des = des;
    }

    public String getDes()
    {
        return des;
    }
    public void setPrice(Long price)
    {
        this.price = price;
    }

    public Long getPrice()
    {
        return price;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setTypeName(String typeName)
    {
        this.typeName = typeName;
    }

    public String getTypeName()
    {
        return typeName;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id",getId())
                .append("name",getName())
                .append("des",getDes())
                .append("price",getPrice())
                .append("type",getType())
                .append("typeName",getTypeName())
                .toString();
    }
}
